#include<stdio.h>

//错误写法
//#define SQUARE(x) x*x
//#define SQUARE(x) (x)*(x)

//正确写法
#define SQUARE(x) ((x)*(x))


//给每一个参数都带上括号，最后整体再带一个括号
#define MAX(x, y) ((x)>(y)?(x):(y))


int main()
{
    int x = 5;
    printf("%d\n", SQUARE(x + 1));
    int a = 0;
    int b = 5;
    printf("%d\n", MAX(a, b));
    return 0;
}


